.rechargeModal {
  max-width: 500px;
}

.content {
  padding: 0;
}

.section {
  margin-bottom: 24px;
}

.section:last-of-type {
  margin-bottom: 0;
}

.sectionTitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.presetGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.presetButton {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.presetButton:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.presetButtonActive {
  border-color: #3b82f6;
  background: #3b82f6;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}

.customAmount {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.customAmount:focus-within {
  background: #eff6ff;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.currencySymbol {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

.amountInput {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  outline: none;
}

.amountInput::placeholder {
  color: #9ca3af;
}

.summary {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.summaryItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.summaryItem:last-child {
  margin-bottom: 0;
}

.summaryLabel {
  font-size: 14px;
  color: var(--text-secondary);
}

.summaryValue {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.actions {
  display: flex;
  justify-content: flex-end;
}

.confirmButton {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .presetGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .actions {
    flex-direction: column;
  }
}
